package com.pro.mapper;

import com.pro.pojo.JsRoleAuthority;
import com.pro.pojo.JsUser;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 祖铭泽
 * @Date 2022/2/22/0022
 * @description 用户权限 mapper层
 */
@Repository
public interface JsRoleAuthorityMapper {
    /**
     * @Author 祖铭泽
     * @Date 2022/2/22/0022
     * @description 添加用户权限
     */
    boolean addUserAuthoritys(JsRoleAuthority jsRoleAuthority);
    /**
     * @Author 祖铭泽
     * @Date 2022/2/22/0022
     * @description 添加多个用户权限
     */
    boolean addUsersAuthoritys(List<JsUser> jsUsers);
}
